package com.woniuxy.happylife.service.impl;

import com.woniuxy.happylife.dao.UserDao;
import com.woniuxy.happylife.entity.User;
import com.woniuxy.happylife.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Classname UserServiceImpl
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/2/19 10:05
 * @Created by hang+
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserDao userDao;
    @Override
    public List<User> getUser() {
        List user = userDao.getUser();
        return user;
    }
}
